package com.catsic.pub.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.catsic.base.tree.TreeImpl;

@Entity
@Table(name="S_DRAWER")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Drawer extends TreeImpl<Drawer> implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8458362040553849175L;
	
	/**
	 * 抽屉值,页面直接使用抽屉，取值：name,code；后台业务层直接调用取值：code,value
	 */
	@Column(name="VALUE",nullable=false)
	private String value;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
